package za.co.felixsol.sf.gcode.instructions;

public class F extends Instruction {

	private InstructionParameter feedRate;
	
	private F() {
		super();
		feedRate = createParameter("");
	}
	
	public F(Double feedRate) {
		this();
		this.feedRate.setValue(feedRate);
	}
	
	@Override
	public String getGCode() {
		return "F";
	}

	@Override
	public String getDescription() {
		return "Set Feed Rate";
	}

	public Double getFeedRate() {
		return (Double)this.feedRate.getValue();
	}

	public void setFeedRate(Double feedRate) {
		this.feedRate.setValue(feedRate);
	}
	
}
